package com.edu.glutdataconvertserver.common;

public class Constants {
    public static final String LOGINSMSCODEPRE = "sms:login:code:";
    public static final String CHANGESMSCODEPRE = "edu:sms:change:code:";
    public static final String CHANGE_EMAIL_CODE = "edu:email:change:code:";
    public static final long CHANGE_SMS_LOSE_TIME = 5;
    public static final long CHANGE_EMAIl_LOSE_TIME = 5;
    public static final String LOGINCONFIGID = "loginConfig";
    public static final String LOGIN_SMS_CODE_TYPE = "mobile_code";
    public static final String LOGIN_USERNAME_PASSWORD_TYPE = "username_password";
    public static final String LOGIN_USERNAME_PASSWORD_CODE_TYPE = "username_password_code";
    public static final int SALT_SIZE = 8;
    public static final int HASH_INTERATIONS = 1024;

//    public static final String USER_TOKEN_PRE = "edu_base:token:";//废弃

    public static final String USER_REDIS_PRE = "edu_base:info:";
    //token秘钥
    public static final String ISSUER = "caitangyun";
    //登录失效时间
    public static final long LOGIN_LOSE_TIME = 1440;
    public static final String MENUPREFIX = "edu_base:menu:";

    public static final Integer DEFAULT_PAGE_SIZE = 10;
    //消息mongo表名
    public static final String EDU_MSG_COLLECTIONS = "edu_message";

    //批量导入用户
    //总数
    public static final String IMPORT_YH_Z = "edu:importyh:z:";
    //已完成
    public static final String IMPORT_YH_YWC = "edu:importyh:ywc:";
    //成功
    public static final String IMPORT_YH_CG = "edu:importyh:cg:";
    //失败
    public static final String IMPORT_YH_SB = "edu:importyh:sb:";
    //失败原因
    public static final String IMPORT_YH_SBYY = "edu:importyh:sbyy:";
    //失败原因
    public static final String IMPORT_YH_ERROR = "edu:importyh:error:";

    //批量导入字典
    //总数
    public static final String IMPORT_ZD_Z = "edu:importzd:z:";
    //已完成
    public static final String IMPORT_ZD_YWC = "edu:importzd:ywc:";
    //成功
    public static final String IMPORT_ZD_CG = "edu:importzd:cg:";
    //失败
    public static final String IMPORT_ZD_SB = "edu:importzd:sb:";
    //失败原因
    public static final String IMPORT_ZD_SBYY = "edu:importzd:sbyy:";
    //失败原因
    public static final String IMPORT_ZD_ERROR = "edu:importyh:error:";

    //批量导入课程
    //总数
    public static final String IMPORT_KC_Z = "edu:importkc:z:";
    //已完成
    public static final String IMPORT_KC_YWC = "edu:importkc:ywc:";
    //成功
    public static final String IMPORT_KC_CG = "edu:importkc:cg:";
    //失败
    public static final String IMPORT_KC_SB = "edu:importkc:sb:";
    //失败原因
    public static final String IMPORT_KC_SBYY = "edu:importkc:sbyy:";
    //失败原因
    public static final String IMPORT_KC_ERROR = "edu:importkc:error:";

    //批量导入专业
    //总数
    public static final String IMPORT_ZY_Z = "edu:importzy:z:";
    //已完成
    public static final String IMPORT_ZY_YWC = "edu:importzy:ywc:";
    //成功
    public static final String IMPORT_ZY_CG = "edu:importzy:cg:";
    //失败
    public static final String IMPORT_ZY_SB = "edu:importzy:sb:";
    //失败原因
    public static final String IMPORT_ZY_SBYY = "edu:importzy:sbyy:";
    //失败原因
    public static final String IMPORT_ZY_ERROR = "edu:importyh:error:";

    //批量导入学院
    //总数
    public static final String IMPORT_XY_Z = "edu:importxy:z:";
    //已完成
    public static final String IMPORT_XY_YWC = "edu:importxy:ywc:";
    //成功
    public static final String IMPORT_XY_CG = "edu:importxy:cg:";
    //失败
    public static final String IMPORT_XY_SB = "edu:importxy:sb:";
    //失败原因
    public static final String IMPORT_XY_SBYY = "edu:importxy:sbyy:";
    //失败原因
    public static final String IMPORT_XY_ERROR = "edu:importyh:error:";

    //批量导入用户角色
    //总数
    public static final String IMPORT_YHJS_Z = "edu:importyhjs:z:";
    //已完成
    public static final String IMPORT_YHJS_YWC = "edu:importyhjs:ywc:";
    //成功
    public static final String IMPORT_YHJS_CG = "edu:importyhjs:cg:";
    //失败
    public static final String IMPORT_YHJS_SB = "edu:importyhjs:sb:";
    //失败原因
    public static final String IMPORT_YHJS_SBYY = "edu:importyhjs:sbyy:";
    //失败原因
    public static final String IMPORT_YHJS_ERROR = "edu:importyhjs:error:";

    //批量导入班级
    public static final String IMPORT_BJ = "edu:importbj:";
    public static final String IMPORT_BJ_ERROR = "edu:importbj:error";
    public static final String IMPORT_BJ_MUL = "edu:importbjMul:";
    public static final String IMPORT_BJ_MUL_ERROR = "edu:importbjMul:error";
    //批量导入班级学生
    public static final String IMPORT_BJXS = "edu:importbjxs:";
    public static final String IMPORT_BJXS_ERROR = "edu:importbjxs:error";

    //批量导入教师
    public static final String IMPORT_LS = "edu:importls:";
    public static final String IMPORT_LS_MUL = "edu:importls:mul:";
    //批量导入学生
    public static final String IMPORT_XS = "edu:importxs:";
    public static final String IMPORT_XS_MUL = "edu:importxs:mul:";

    //批量导入校区
    public static final String IMPORT_XQ = "edu:importxq:";
    public static final String IMPORT_XQ_ERROR = "edu:importxq:error";

    //批量导入教学楼
    public static final String IMPORT_JXL = "edu:importjxl:";
    public static final String IMPORT_JXL_ERROR = "edu:importjxl:error";
    public static final String IMPORT_JXL_MUL = "edu:importjxlMul:";
    public static final String IMPORT_JXL_MUL_ERROR = "edu:importjxlMul:error";

    //批量导入教室
    public static final String IMPORT_JS = "edu:importjs:";
    public static final String IMPORT_JS_ERROR = "edu:importjs:error";

    //批量导入教室All
    public static final String IMPORT_JS_ALL = "edu:importjs:All:";
    public static final String IMPORT_JS_ERROR_ALL = "edu:importjs:error:All";

    //字典
    public static final String BASE_ZD = "edu:zd";
    //配置
    public static final String BASE_PZ = "edu:pz:";
    //微信登录前缀
    public static final String WX_LOGIN_PRE = "edu:wx:login:";
    public static final String WX_BIND_PRE = "edu:wx:bind:";
    public static final String WX_BIND_RESULT_PRE = "edu:wx:bindResult:";

    //批量导入课程 学院
    public static final String IMPORT_KC_MUL = "edu:importjs:mul:";
    public static final String IMPORT_KC_ERROR_MUL = "edu:importjs:error:mul";

    //学校编号与学校标记redis前缀
    public static final String KEY_XXBH_XXBJ = "edu:xxbhXxbj";
    //学校英文名称与学校标记redis前缀
    public static final String KEY_XXMC_XXBJ = "edu:xxmcXxbj";
    //学校标记与学校编号redis前缀
    public static final String KEY_XXBJ_XXBH = "edu:xxbjXxbh";
    //学校标记与学校编号redis前缀
    public static final String GLMC_LOG_TABLE_NAME = "glmc_log";
}
